﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml.Serialization;

namespace BayNexususer.XMLModel
{
    /// <summary>
    /// 一天一条记录
    /// </summary>
    public class tempmain
    {
        //string _afteroperanum;

        //public tempmain()
        // {

        // }
        //public tempmain(string _afteroperanum)
        // {
        //     this._afteroperanum = _afteroperanum;
        // }
        /// <summary>
        /// 住院流水号
        /// </summary>
        public string inpatientid
        {
            get;
            set;
        }
        /// <summary>
        /// 科室代码
        /// </summary>
        public string section
        {
            get;
            set;
        }
        /// <summary>
        /// 床号
        /// </summary>
        public string sickbed
        {
            get;
            set;
        }
        /// <summary>
        /// 测量日期格式：yyyymmdd
        /// </summary>
        public string measuredate
        {
            get;
            set;
        }
        /// <summary>
        /// 记录日期格式：yyyymmddhhmimiss
        /// </summary>
        public string recorddate
        {
            get;
            set;
        }

        /// <summary>
        /// 填写人ID
        /// </summary>
        public string recordid
        {
            get;
            set;
        }
        /// <summary>
        /// 填写人姓名
        /// </summary>
        public string recorder
        {
            get;
            set;
        }

        /// <summary>
        /// 住院日数
        /// </summary>
        public string indatenum
        {
            get;
            set;
        }

        /// <summary>
        /// 手术后日数
        /// </summary>
        public string afteroperanum
        {
            get;
            set;
        }
        //public string afteroperanum
        //{
        //    get { return _afteroperanum; }
        //    set { _afteroperanum = value; }
        //}
        /// <summary>
        /// 大便次数
        /// </summary>
        public string stooltimes
        {
            get;
            set;
        }

        /// <summary>
        /// 大便描述
        /// </summary>
        public string stooltimesdesc
        {
            get;
            set;
        }

        /// <summary>
        /// 尿量
        /// </summary>
        public string staleqtt
        {
            get;
            set;
        }

        /// <summary>
        /// 尿量描述
        /// </summary>
        public string urinevolumedesc
        {
            get;
            set;
        }

        /// <summary>
        /// 总入量
        /// </summary>
        public string inputqtt
        {
            get;
            set;
        }

        /// <summary>
        /// 排出
        /// </summary>
        public string dischargedesc
        {
            get;
            set;
        }

        /// <summary>
        /// 血压1（收缩压）systolic_pressure
        /// </summary>
        public string bloodpressureh
        {
            get;
            set;
        }
        /// <summary>
        /// 血压1（舒张压）diastolic_pressure
        /// </summary>
        public string bloodpressurel
        {
            get;
            set;
        }
        /// <summary>
        /// 体重
        /// </summary>
        public string weight
        {
            get;
            set;
        }
        /// <summary>
        /// 体重描述（卧床的情况传“卧床”）
        /// </summary>
        public string weightdesc
        {
            get;
            set;
        }
        /// <summary>
        /// 身高
        /// </summary>
        public string height
        {
            get;
            set;
        }
        /// <summary>
        /// 身高描述
        /// </summary>
        public string heightdesc
        {
            get;
            set;
        }
        /// <summary>
        /// 血压2（高）
        /// </summary>
        public string highbp
        {
            get;
            set;
        }
        /// <summary>
        /// 血压2（低）
        /// </summary>
        public string lowbp
        {
            get;
            set;
        }
        /// <summary>
        /// 过敏药物1名称
        /// </summary>
        public string hymname
        {
            get;
            set;
        }
        /// <summary>
        /// 皮试结果1： +、-
        /// </summary>
        public string hymvalue
        {
            get;
            set;
        }
        /// <summary>
        /// 其他
        /// </summary>
        public string otherdesc
        {
            get;
            set;
        }
        /// <summary>
        /// 脉象
        /// </summary>
        public string maixiang
        {
            get;
            set;
        }

        /// <summary>
        /// 舌质
        /// </summary>
        public string shezhi
        {
            get;
            set;
        }
        /// <summary>
        /// 舌苔
        /// </summary>
        public string shetai
        {
            get;
            set;
        }
        [XmlArrayItem("tempfrae")]
        [XmlArray("tempfraes")]
        public List<tempfrae> tempfrae { get; set; }
    }
}